<ui:composition template="/WEB-INF/templates/defaultLayout.xhtml" 
				xmlns="http://www.w3.org/1999/xhtml"
				xmlns:h="http://java.sun.com/jsf/html"
	  			xmlns:p="http://primefaces.org/ui" 
      			xmlns:ui="http://java.sun.com/jsf/facelets">
	<ui:define name="title">
		#{lang.getTrans("ui.mobile.customer.title")} 
	</ui:define>
	
	<ui:define name="layoutCenter">
		<h:form id="form">
			<p:panelGrid columns="3" >
			
				<h:outputText value="05" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out05')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out05')}"/>
				
				<h:outputText value="06" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out06')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out06')}"/>
				
				<h:outputText value="07" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out07')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out07')}"/>
				
				<h:outputText value="08" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out08')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out08')}"/>

				<h:outputText value="09" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out09')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out09')}"/>
				
				<h:outputText value="10" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out10')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out10')}"/>
				
				<h:outputText value="11" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out11')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out11')}"/>
				
				<h:outputText value="12" />
				<p:commandButton value="Ligar" action="#{serialBean.comand('on out12')}"/>
				<p:commandButton value="Desligar" action="#{serialBean.comand('off out12')}"/>
				
				<p:commandButton value="Temperatura" action="#{serialBean.comand('temp')}"/>
			</p:panelGrid>	

		</h:form>
	</ui:define>
</ui:composition> 







